//
//  main.m
//  OC05_练习
//
//  Created by dllo on 15/12/7.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Book.h"
#import "Library.h"


int main(int argc, const char * argv[]) {
    @autoreleasepool {
  
        Library *lib = [[Library alloc] init];
        
        
        Book *book1 = [[Book alloc] initWithName:@"ashuai" price:@"133"];
        Book *book2 = [[Book alloc] initWithName:@"doupo" price:@"122"];
        
        [lib addBook:book1];
        [lib addBook:book2];
        
        [lib listOfAllBook];
        
        
        
        
        
        
        
        
        
        
        
    }
    return 0;
}
